<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of ObjetoTableSeeder
 *
 * @author Carlos
 */
class ApartmentTableSeeder extends Seeder {

    public function run() {
        DB::table('apartments')->insert([
            [
                'id' => 1, 
                'lugar' => "Leiva 4227, piso 3, Barrio Los Andes, Chacarita, Buenos Aires.", 
                'texto' => 'Texto apartment lorem ipsum lorem ipsum lorem ipsum...',
                'fecha' => new DateTime,
                'estado' => true,
            ],
            [
                'id' => 2, 
                'lugar' => "Orozco 80, piso 10 B, Belgrano, Buenos Aires.", 
                'texto' => 'Texto apartment Orozco 80 lorem ipsum lorem ipsum lorem ipsum...',
                'fecha' => new DateTime,
                'estado' => false,
            ],
            [
                'id' => 3, 
                'lugar' => "Migueletes 2567, San Martín, Buenos Aires.", 
                'texto' => 'Texto apartment Migueletes 2567 lorem ipsum lorem ipsum lorem ipsum...',
                'fecha' => new DateTime,
                'estado' => true,
            ]
        ]);
    }

}
